package org.bee.input;


import org.bee.check.Length;
import org.bee.check.NotNull;
import org.bee.model.BaseModel;

/**
 * 登录对象
 */
public class LoginVo implements BaseModel {
    @NotNull
    @Length(min = 5,max = 16,msg="用户名长度为5-16位")
    private String username;
    @NotNull
    @Length(min = 6,max = 16,msg="密码长度为6-16位")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
